package top.tangyh.lamp.care.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import static com.baomidou.mybatisplus.annotation.SqlCondition.EQUAL;
import static top.tangyh.lamp.model.constant.Condition.LIKE;
import top.tangyh.basic.base.entity.Entity;


/**
 * <p>
 * 实体类
 * ISBAR护理交班明细表
 * </p>
 *
 * @author zqb
 * @date 2024-08-12 10:28:25
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@Builder
@TableName("b_care_isbar_handover_detail")
public class BCareIsbarHandoverDetail extends Entity<Long> {

    private static final long serialVersionUID = 1L;

    /**
     * 对应记录表id
     */
    @TableField(value = "record_id", condition = EQUAL)
    @Schema(description = "对应记录表id")
    private Long recordId;
    /**
     * 床号
     */
    @TableField(value = "bed_number", condition = LIKE)
    @Schema(description = "床号")
    private String bedNumber;
    /**
     * 病人姓名
     */
    @TableField(value = "patient_name", condition = LIKE)
    @Schema(description = "病人姓名")
    private String patientName;
    /**
     * 识别号
     */
    @TableField(value = "patient_ident", condition = LIKE)
    @Schema(description = "识别号")
    private String patientIdent;
    /**
     * 住院号
     */
    @TableField(value = "hospital_number", condition = LIKE)
    @Schema(description = "住院号")
    private String hospitalNumber;
    /**
     * 出生日期
     */
    @TableField(value = "birthday", condition = EQUAL)
    @Schema(description = "出生日期")
    private LocalDateTime birthday;
    /**
     * s情境患者诊断
     */
    @TableField(value = "s_context", condition = LIKE)
    @Schema(description = "s情境患者诊断")
    private String sContext;
    /**
     * b背景手术史等简单内容
     */
    @TableField(value = "b_context", condition = LIKE)
    @Schema(description = "b背景手术史等简单内容")
    private String bContext;
    /**
     * R建议 后续处理措施及方向
     */
    @TableField(value = "r_jy", condition = LIKE)
    @Schema(description = "R建议 后续处理措施及方向")
    private String rJy;
    /**
     * 特别提醒
     */
    @TableField(value = "special_remind", condition = LIKE)
    @Schema(description = "特别提醒")
    private String specialRemind;

//    public String getsContext() {
//        return sContext;
//    }


}
